made storyboard and added pan gesture