Added synthetic events for the previous and next buttons