Finally got the sliding menu to work across 2 pages. TODO: Make sliding menu work across more than 2 pages.