changed width to 100% and height to auto