made website able to expand and compress without issues