remove unnecessary styles, add firefox border fix