using MaxY of nav bar instead of exposing a new property