Add functionality for nav arrows