adding jQuery scripts for list functionality
changed layout