Fix top positioning issue with anchors onload