added slider buttons, set new position on resize window