added ability to work as part of top-menu element'