Fixed issue where the back button causes forward jumps
Added prev and next frame