worked on compile phase of the off canvas element