fix slider and photo browser scroller bug