Added dynamic menu while resizing