Implemented mouse/touch navigation