Recalculate dimensions on browser resize
should be function call