edited functions.php

changed pre_nav function