added events 

added events for switching to prev and next locations