fix for px based sliding sidebar