I\'m using Anime.js (but I think it\'s not relevant) which constantly call my function computeMinMaxTranslateX for moving target inside the
computeMinMaxTranslateX