- moved sub action to global var in plugin scope
- moved all inline css to css files

Signed-off-by: Siddhartha Gupta <makerzzz.zzzz@gmail.com>