fixing nav and sliding