Fixed bug in header smooth scroll