added ability to use gesture handler to open a view