restrict float behavior to narrow screens