Have a variable that's set to 1, when you press down it adds 1, when you press up it subtracts 1. Then with conditions you set the cursor based on variable value. If it is 1 set its position to the top menu's Y position, if it is 2, set the Y to the 2nd sections Y position and if it is 3 set the Y position to the 3rd section Y position.