moved removing nav to after setting slides to front