swapping views in and out on menu click