add some functionality for testing sliding navbar