modify to off canvas and other modifications