helped with image change on orientation change