refactoring, fixing absolute position elem width and fixed stickyfromwidth and stickyfromheight