more css changes, updated gradient function js