Fixed bug when hiding first item of nav menu