a better solution with CSS for positioning from the next and prev button