slider now works by clicking left or right also