Fixed issue with header and slider on Safari and mobile