slider in view not working