initial setup of pan gesture recognizer on messageImage