simple directive to resize a component to fit the whole window with no additional scrollbar