Fixing schedule tab from always displaying on page load