Modified menu controller so that clicking the portrait again closes the menu