Made everything dynamic, and it responds to resize