Layout updated, added better resize mechanics.