Smarter positioning of drawer divs + iPad comp