Added picture and mouse gesture functionality