Implement keypress to advance frame