added main menu
fix for next/prev buttons