added more positions. Navigation bar detection and position under the status bar