adding view mode switch and Animate border menu