setup segments on view did load