added hidden property in rotate window
changed interface of notification window
added test code
added rect param to merge status bar to context method