[code][html] reverse panel content and handle, better catch on space hit