Fix ui menu bug for long menus.
Fix ui menu bug for long menus.

Change-Id: If009dee6b7597daeec62dd65baa7ad35e1adec5d

Conflicts:

	ui.c

Plain-Andy/android_platform_bootable_recovery,kylinmoddev/android_bootable_recovery,kylinmoddev/android_bootable_recovery,DerTeufel/dualboot_recovery,randomblame/bootable_recovery,76Demented/bootable_recovery-,kylinmoddev/android_bootable_recovery,randomblame/bootable_recovery,76Demented/bootable_recovery-,76Demented/bootable_recovery-,randomblame/bootable_recovery,randomblame/bootable_recovery,76Demented/bootable_recovery-,Plain-Andy/android_platform_bootable_recovery,InsomniaAOSP/platform_bootable_recovery,InsomniaAOSP/platform_bootable_recovery,InsomniaAOSP/platform_bootable_recovery,kylinmoddev/android_bootable_recovery,DerTeufel/dualboot_recovery,Plain-Andy/android_platform_bootable_recovery,InsomniaAOSP/platform_bootable_recovery,76Demented/bootable_recovery-,DerTeufel/dualboot_recovery,InsomniaAOSP/platform_bootable_recovery,Plain-Andy/android_platform_bootable_recovery,DerTeufel/dualboot_recovery,randomblame/bootable_recovery,DerTeufel/dualboot_recovery