Added selected style back in for when pagination occurs