fixed resize so it resizes to width and height container element