updated for ipad responsive