better mobile rendering on toggle menu