adjusted css to use panels