implements viewpage and tabs