dealing with the css to better position elements in the slider