switched back to custom implementation of hiding menu
dist