view flipper, file renamed, switch view function