getting header height and update main margin-top