made popup menu work when screen is small