added flags for the navigation controls