finally centred the img