Sets the top frame as the current frame.