implemented restore original view on tap