button creation outside of slider. using show and hide instead of deleting it