loading fix to fit all screen sizes