replaced images
decoupled resize function
replaced custom nav