moved selection limitation and fixed media query