magic offset number for Jquery layout - compute dynamically