Refactor stick navbar prototype