galery events by pressing nav left, right and esc