Added code to transform image and increase image size on pressing space.