Added resizable directive which gives access to window dimensions when the window is resized.
Added map resizable feature when the window is resized and updates the UI accordingly