clean up code
do not switch view flipper child for last 3 tabs