Implemented translations on the x-axis for selection and back button press.