menu function & background & frame