fixed lagged css issue