Added correct overflow direction to sid-nav and main page