implement rotate menu