Allow float to be contained, but need to fix mobile