fixed the position of navpills