fixed for safari by adding heights