Implemented proportional image resize toggling