fixed race condition issue with positioning
added 'color' style