Added Medium.com inspired menu behaviour.