Fixed foundation off-canvas menu bug
Cleaned up depreciated code