Streamlining GetDevicePicture function and correcting the IE9 issue with the rear device picture #342