allow switching views