changes to implement expand picture