Added keyboard controlled prev and next frame