Fixed resizable panels for safari

Safari doesn't support the use of calc() in css.