Simplify responsive code