Began adding in gesture functionality