Added previous and next frame buttons.