if there are not buttons either left or right do not allow scroll view to bounce